package com.zc.edu.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Component
@FeignClient("service-order")
public interface OrderClient {
	@GetMapping("/order/order/queryCourseIsBuyed/{courseId}/{memberId}")
	public boolean queryCourseIsBuyed(@PathVariable("courseId") String courseId,
	                                  @PathVariable("memberId") String memberId);
}
